// LegoLightSensor.h - Library for reading the Lego light sensor value.
// Created by Wongoo Lee.
// Released into the public domain.

#ifndef LEGOLIGHTSENSOR_H
#define LEGOLIGHTSENSOR_H

#define LEGOLIGHTSENSOR_LED_ON_TIME 10000
#define LEGOLIGHTSENSOR_OFF_WAIT_TIME 50

class LegoLightSensor {
 public:
  LegoLightSensor(int pin);
  int read();

 private:
  int pin_;
};

#endif

 
